<?php

$fp = fopen('line_by_line.txt','r+');

while($line = fgets($fp))
{
  echo $line;
}
